Vue.component("file_msg_comp",{
	props:['account','position','msg_content','time','head_icon'],
	data:function(){
		return {
			
			selected:false,
			msg:null,
			position_left:false,
			position_right:true,
		};
	},
	template:loadHTML("components/file_msg_comp/file_msg_comp.html"),
	ready:function(){
		if(this.position=="left"){
			this.position_left=true;
			this.position_right=false;
		}else{
			this.position_left=false;
			this.position_right=true;
		}
	},
	methods:{
		init:function(){
			
		},
		mouseover:function(e){
			this.selected=true;
		},
		mouseout:function(e){
			this.selected=false;
		}
	},
});